
/* <<< COPYRIGHT START >>>
 * Copyright 2006-Present OxygenSoftwareLibrary.com
 * Licensed under the GNU Lesser General Public License.
 * http://www.gnu.org/licenses/lgpl.html
 * 
 * @author: Ugorji Dick-Nwoke
 * <<< COPYRIGHT END >>>
 */


package oxygen.tool.wlfacade;

import java.util.Map;

import javax.naming.InitialContext;

public interface WLScriptConnection {

  public String getServerName();
  
  public String getDomainName();
  
  public Object getMBS(String logicalname) throws Exception;
  
  public Object getChangeMBS() throws Exception;
  
  //public void deleteMBean(ObjectName cmo) throws Exception;
  
  //public ObjectName createMBean(ObjectName cmo, String type, String name) throws Exception;
  
  public String getWLVersion();
  
  public WLConnectionData getWLConnectionData();
  
  public InitialContext getInitialContext();
  
  public Object getCommoMBS() throws Exception;
  
  public boolean isAdminServer();
  
  //public Object toMbean(ObjectName cmo, Object mbs) throws Exception;

  public Map getAllMBS() throws Exception;

  public void close() throws Exception;

  public boolean isAtOrAfterVer90();
}

